package com.erp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 货物实体
 */
@Data
@TableName(value = "t_goods")
public class Goods {
    //商品id
    private Long id;
    //商品价格
    private Float price;
    //商品名称
    private String name;
    //商品数量
    private int num;


    @TableField(value = "createDateTime")
    private LocalDateTime createDateTime;
    //日期
}
